package com.fuqi.android.zhongcai.base.request.api;


import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import com.fuqi.android.zhongcai.base.ApiUrl;
import com.fuqi.android.zhongcai.base.request.result.SanBaoResult;
import com.fuqi.framework.network.api.AbsRequest;
import com.fuqi.framework.network.params.BaseParams;


/*
*  获取中财三保信息接口
* */


public class SanBaoListApi extends AbsRequest<SanBaoListApi.SanBaoListParams, SanBaoResult[]> {

    public SanBaoListApi(SanBaoListParams sanBaoListParams, Listener<SanBaoResult[]> listener, ErrorListener errorListener) {
        super(Method.POST, ApiUrl.getSanBaoListUrl(), sanBaoListParams, listener, errorListener, SanBaoResult[].class);
    }

    public static class SanBaoListParams extends BaseParams {

        public SanBaoListParams(String showCount,String currentPage) {

                put("showCount", showCount);
                put("currentPage", currentPage);

        }
    }


}
